Optimal. Leaf size=98 \[ \frac {\log \left (3^{2/3} \cosh ^2(x)+2^{2/3} \sqrt [3]{3} \cosh (x)+2 \sqrt [3]{2}\right )}{12 \sqrt [3]{6}}-\frac {\log \left (2^{2/3}-\sqrt [3]{3} \cosh (x)\right )}{6 \sqrt [3]{6}}+\frac {\tan ^{-1}\left (\frac {\sqrt [3]{6} \cosh (x)+1}{\sqrt {3}}\right )}{2 \sqrt [3]{2} 3^{5/6}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 98, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.538, Rules used = {3223, 200, 31, 634, 617, 204, 628} \[ \frac {\log \left (3^{2/3} \cosh ^2(x)+2^{2/3} \sqrt [3]{3} \cosh (x)+2 \sqrt [3]{2}\right )}{12 \sqrt [3]{6}}-\frac {\log \left (2^{2/3}-\sqrt [3]{3} \cosh (x)\right )}{6 \sqrt [3]{6}}+\frac {\tan ^{-1}\left (\frac {\sqrt [3]{6} \cosh (x)+1}{\sqrt {3}}\right )}{2 \sqrt [3]{2} 3^{5/6}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 200
Rule 204
Rule 617
Rule 628
Rule 634
Rule 3223
Rubi steps
\begin {align*} \int \frac {\sinh (x)}{4-3 \cosh ^3(x)} \, dx &=\operatorname {Subst}\left (\int \frac {1}{4-3 x^3} \, dx,x,\cosh (x)\right )\\ &=\frac {\operatorname {Subst}\left (\int \frac {1}{2^{2/3}-\sqrt [3]{3} x} \, dx,x,\cosh (x)\right )}{6 \sqrt [3]{2}}+\frac {\operatorname {Subst}\left (\int \frac {2\ 2^{2/3}+\sqrt [3]{3} x}{2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{3} x+3^{2/3} x^2} \, dx,x,\cosh (x)\right )}{6 \sqrt [3]{2}}\\ &=-\frac {\log \left (2^{2/3}-\sqrt [3]{3} \cosh (x)\right )}{6 \sqrt [3]{6}}+\frac {\operatorname {Subst}\left (\int \frac {1}{2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{3} x+3^{2/3} x^2} \, dx,x,\cosh (x)\right )}{2\ 2^{2/3}}+\frac {\operatorname {Subst}\left (\int \frac {2^{2/3} \sqrt [3]{3}+2\ 3^{2/3} x}{2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{3} x+3^{2/3} x^2} \, dx,x,\cosh (x)\right )}{12 \sqrt [3]{6}}\\ &=-\frac {\log \left (2^{2/3}-\sqrt [3]{3} \cosh (x)\right )}{6 \sqrt [3]{6}}+\frac {\log \left (2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{3} \cosh (x)+3^{2/3} \cosh ^2(x)\right )}{12 \sqrt [3]{6}}-\frac {\operatorname {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\sqrt [3]{6} \cosh (x)\right )}{2 \sqrt [3]{6}}\\ &=\frac {\tan ^{-1}\left (\frac {1+\sqrt [3]{6} \cosh (x)}{\sqrt {3}}\right )}{2 \sqrt [3]{2} 3^{5/6}}-\frac {\log \left (2^{2/3}-\sqrt [3]{3} \cosh (x)\right )}{6 \sqrt [3]{6}}+\frac {\log \left (2 \sqrt [3]{2}+2^{2/3} \sqrt [3]{3} \cosh (x)+3^{2/3} \cosh ^2(x)\right )}{12 \sqrt [3]{6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 77, normalized size = 0.79 \[ \frac {1}{72} \left (6^{2/3} \left (\log \left (6^{2/3} \cosh ^2(x)+2 \sqrt [3]{6} \cosh (x)+4\right )-2 \log \left (2-\sqrt [3]{6} \cosh (x)\right )\right )+6\ 2^{2/3} \sqrt [6]{3} \tan ^{-1}\left (\frac {\sqrt [3]{6} \cosh (x)+1}{\sqrt {3}}\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.52, size = 305, normalized size = 3.11 \[ \frac {1}{12} \cdot 6^{\frac {1}{6}} \sqrt {2} \left (-1\right )^{\frac {1}{3}} \arctan \left (\frac {1}{12} \cdot 6^{\frac {1}{6}} {\left (6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \cosh \relax (x)^{3} + 6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \sinh \relax (x)^{3} + {\left (3 \cdot 6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \cosh \relax (x) + 4 \cdot 6^{\frac {1}{3}} \sqrt {2}\right )} \sinh \relax (x)^{2} + 4 \cdot 6^{\frac {1}{3}} \sqrt {2} \cosh \relax (x)^{2} + {\left (6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} - 16 \, \sqrt {2} \left (-1\right )^{\frac {1}{3}}\right )} \cosh \relax (x) + {\left (3 \cdot 6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \cosh \relax (x)^{2} + 6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} + 8 \cdot 6^{\frac {1}{3}} \sqrt {2} \cosh \relax (x) - 16 \, \sqrt {2} \left (-1\right )^{\frac {1}{3}}\right )} \sinh \relax (x) + 2 \cdot 6^{\frac {1}{3}} \sqrt {2}\right )}\right ) - \frac {1}{12} \cdot 6^{\frac {1}{6}} \sqrt {2} \left (-1\right )^{\frac {1}{3}} \arctan \left (\frac {1}{12} \cdot 6^{\frac {1}{6}} {\left (6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \cosh \relax (x) + 6^{\frac {2}{3}} \sqrt {2} \left (-1\right )^{\frac {2}{3}} \sinh \relax (x) + 2 \cdot 6^{\frac {1}{3}} \sqrt {2}\right )}\right ) - \frac {1}{72} \cdot 6^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (-\frac {2 \, {\left (2 \cdot 6^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \cosh \relax (x) - 3 \, \cosh \relax (x)^{2} - 3 \, \sinh \relax (x)^{2} - 4 \cdot 6^{\frac {1}{3}} \left (-1\right )^{\frac {2}{3}} - 3\right )}}{\cosh \relax (x)^{2} - 2 \, \cosh \relax (x) \sinh \relax (x) + \sinh \relax (x)^{2}}\right ) + \frac {1}{36} \cdot 6^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} \log \left (\frac {2 \, {\left (6^{\frac {2}{3}} \left (-1\right )^{\frac {1}{3}} + 3 \, \cosh \relax (x)\right )}}{\cosh \relax (x) - \sinh \relax (x)}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 80, normalized size = 0.82 \[ \frac {1}{12} \, \sqrt {3} \left (\frac {4}{3}\right )^{\frac {1}{3}} \arctan \left (\frac {1}{4} \, \sqrt {3} \left (\frac {4}{3}\right )^{\frac {2}{3}} {\left (\left (\frac {4}{3}\right )^{\frac {1}{3}} + e^{\left (-x\right )} + e^{x}\right )}\right ) + \frac {1}{72} \cdot 36^{\frac {1}{3}} \log \left ({\left (e^{\left (-x\right )} + e^{x}\right )}^{2} + 2 \, \left (\frac {4}{3}\right )^{\frac {1}{3}} {\left (e^{\left (-x\right )} + e^{x}\right )} + 4 \, \left (\frac {4}{3}\right )^{\frac {2}{3}}\right ) - \frac {1}{12} \, \left (\frac {4}{3}\right )^{\frac {1}{3}} \log \left ({\left | -2 \, \left (\frac {4}{3}\right )^{\frac {1}{3}} + e^{\left (-x\right )} + e^{x} \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 80, normalized size = 0.82 \[ -\frac {4^{\frac {1}{3}} 3^{\frac {2}{3}} \ln \left (\cosh \relax (x )-\frac {4^{\frac {1}{3}} 3^{\frac {2}{3}}}{3}\right )}{36}+\frac {4^{\frac {1}{3}} 3^{\frac {2}{3}} \ln \left (\cosh ^{2}\relax (x )+\frac {4^{\frac {1}{3}} 3^{\frac {2}{3}} \cosh \relax (x )}{3}+\frac {4^{\frac {2}{3}} 3^{\frac {1}{3}}}{3}\right )}{72}+\frac {4^{\frac {1}{3}} 3^{\frac {1}{6}} \arctan \left (\frac {\sqrt {3}\, \left (\frac {4^{\frac {2}{3}} 3^{\frac {1}{3}} \cosh \relax (x )}{2}+1\right )}{3}\right )}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\int \frac {\sinh \relax (x)}{3 \, \cosh \relax (x)^{3} - 4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.51, size = 205, normalized size = 2.09 \[ -\frac {6^{2/3}\,\ln \left (\frac {256\,{\mathrm {e}}^{2\,x}}{81}-\frac {128\,{\mathrm {e}}^x}{27}+\frac {6^{2/3}\,\left (\frac {256\,{\mathrm {e}}^{2\,x}}{9}-\frac {2048\,{\mathrm {e}}^x}{27}+\frac {6^{2/3}\,\left (256\,{\mathrm {e}}^{2\,x}-\frac {2048\,{\mathrm {e}}^x}{3}+256\right )}{36}+\frac {256}{9}\right )}{36}+\frac {256}{81}\right )}{36}-\frac {6^{2/3}\,\ln \left (\frac {256\,{\mathrm {e}}^{2\,x}}{81}-\frac {128\,{\mathrm {e}}^x}{27}+\frac {6^{2/3}\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {256\,{\mathrm {e}}^{2\,x}}{9}-\frac {2048\,{\mathrm {e}}^x}{27}+\frac {6^{2/3}\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (256\,{\mathrm {e}}^{2\,x}-\frac {2048\,{\mathrm {e}}^x}{3}+256\right )}{36}+\frac {256}{9}\right )}{36}+\frac {256}{81}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{36}+\frac {6^{2/3}\,\ln \left (\frac {256\,{\mathrm {e}}^{2\,x}}{81}-\frac {128\,{\mathrm {e}}^x}{27}-\frac {6^{2/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {256\,{\mathrm {e}}^{2\,x}}{9}-\frac {2048\,{\mathrm {e}}^x}{27}-\frac {6^{2/3}\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (256\,{\mathrm {e}}^{2\,x}-\frac {2048\,{\mathrm {e}}^x}{3}+256\right )}{36}+\frac {256}{9}\right )}{36}+\frac {256}{81}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}{36} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 1.54, size = 85, normalized size = 0.87 \[ - \frac {6^{\frac {2}{3}} \log {\left (\cosh {\relax (x )} - \frac {6^{\frac {2}{3}}}{3} \right )}}{36} + \frac {6^{\frac {2}{3}} \log {\left (36 \cosh ^{2}{\relax (x )} + 12 \cdot 6^{\frac {2}{3}} \cosh {\relax (x )} + 24 \sqrt [3]{6} \right )}}{72} + \frac {2^{\frac {2}{3}} \sqrt [6]{3} \operatorname {atan}{\left (\frac {\sqrt [3]{2} \cdot 3^{\frac {5}{6}} \cosh {\relax (x )}}{3} + \frac {\sqrt {3}}{3} \right )}}{12} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________